Measurement of cardiac performance